package com.enzoism.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
public class Application {

	public static void main(String[] args) {

		System.out.println("--------------》》》》》》");
		SpringApplication.run(Application.class, args);

		// 添加自定义辅助类，可以直接从SpringBean中进行对象取值
//		MaintainHistService maintainHistService = ApplicationContextUtil.getBean(MaintainHistService.class);
//		System.out.println("------------------->MaintainHistService："+maintainHistService);

	}

}
